Write a program which construct a table to value of Z